package com.naiterui.ehp.bs.cms.modules.wms.mapper;

import org.apache.ibatis.annotations.Param;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.naiterui.ehp.bs.cms.common.constants.DsName;
import com.naiterui.ehp.bs.cms.modules.wms.entity.PrescriptionPlatformProduct;
import com.naiterui.ehp.bs.cms.modules.wms.vo.ThirdPartyProductVO;

/**
 * <pre>
 *
 * </pre>
 *
 * @author fangguanhong
 * @date 2021/4/9 4:11 PM
 * @since 1.0.0
 */
@DS(DsName.EHP)
public interface PrescriptionPlatformProductMapper extends BaseMapper<PrescriptionPlatformProduct> {
    IPage<ThirdPartyProductVO> getPage(@Param("page") IPage<ThirdPartyProductVO> page, @Param("ew") QueryWrapper<ThirdPartyProductVO> entityWrapper);

    PrescriptionPlatformProduct getById(@Param("id") Long id);
}
